function validateChineseIDCard(idCard) {
	const regExp = /^[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}(\d|X|x)$/;
	if (!regExp.test(idCard)) return false;

	return true;
}

module.exports = {
	validateChineseIDCard
};